# Maintainer: Donoban <donoban@riseup.net>
pkgname=py3-stem
pkgver=1.8.0
pkgrel=1
pkgdesc="Python controller library that allows applications to interact with Tor"
url="https://stem.torproject.org/"
arch="noarch"
license="LGPL-3.0-or-later"
depends="python3"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/s/stem/stem-$pkgver.tar.gz"
builddir="$srcdir"/stem-"$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
aa2033567b79aef960f8321e4c6cbc28105c59d6513ff49a9f12509d8f97b1a2e8a3b04dc28abb07fad59b0f6ba66443b92bbefa0d08b26038bbaf24f7f2846d  stem-1.8.0.tar.gz
"
